package com.netx.generics.basic;


public interface Logger {

	public static enum LEVEL {
		INFO, WARNING, ERROR, NONE
	}

	public LEVEL getLevel();
	public void setLevel(LEVEL level);

	public void info(String message);
	public void warning(String message);
	public void warning(String message, Throwable t);
	public void error(String message, Throwable t);
	public void error(Throwable t);
}
